tools/libxc: x86 PV restore code
authorAndrew Cooper <andrew.cooper3@citrix.com>
Sat, 7 Jun 2014 20:17:09 +0000 (21:17 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 5 May 2015 13:30:47 +0000 (14:30 +0100)
commiteab806a097b38c07979a313f8bd2a7258cdcce3b
treee5f8d9ceabf547dbc1f441260af5e1ee0f428118
parenta8631b03d44bc82ee26c796b6356827e0d4f5972
tools/libxc: x86 PV restore code

Restore the x86 PV specific parts.  The X86_PV_INFO, the P2M_FRAMES,
SHARED_INFO, and VCPU context records.

The localise_page callback is called from the common PAGE_DATA code to convert
PFNs in page tables to MFNs.

Page tables are pinned and the guest's P2M is updated when the stream is
complete.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Campbell <Ian.Campbell@citrix.com>
tools/libxc/Makefile
tools/libxc/xc_sr_common.h
tools/libxc/xc_sr_restore.c
tools/libxc/xc_sr_restore_x86_pv.c [new file with mode: 0644]